package chapter04;

/**
 * 替换字符串
 * Created by a on 2017/6/9.
 */
public class Test075 {
    public static void main(String[] args) {
        String s = "ddddfgghh";
        String s1 = s.replace("hh","111");
        System.out.println(s);
        System.out.println(s1);
    }
}
